﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI
{
    public interface IDataSourceBind
    {
        /// <summary>
        /// 返回数据源定义
        /// </summary>
        /// <returns></returns>
        object GetDataSourceDefinition();
        
        /// <summary>
        /// 绑定数据
        /// </summary>
        /// <param name="datasource"></param>
        void OnDataSourceBinding(object datasource);
    }
}
